//
//  LXHomeJingItemCell.m
//  ZuLinProject
//
//  Created by bancheng on 2022/7/6.
//  Copyright © 2022 LX_App. All rights reserved.
//

#import "LXHomeJingItemCell.h"

@implementation LXHomeJingItemCell
-(instancetype)initWithFrame:(CGRect)frame{
    self=[super initWithFrame:frame];
    if (self){
        [self setUI];
    }
    return self;
}

- (void)setUI{
    
    self.topLabel=[[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.width, self.height/2-5)];
    self.topLabel.textColor= [UIColor colorWithHexString:@"#3C6CFC"];
    self.topLabel.font = [UIFont systemFontOfSize:FontSize(20) weight:UIFontWeightMedium];
    self.topLabel.textAlignment = NSTextAlignmentCenter;
   [self addSubview:self.topLabel];
    
    self.bottomLabel=[[UILabel alloc] initWithFrame:CGRectMake(0, MaxY(self.topLabel)-5, self.width, self.height/2-5)];
    self.bottomLabel.textColor= ColorWithAAAAAA;
    self.bottomLabel.font= Fond12;
    self.bottomLabel.textAlignment = NSTextAlignmentCenter;
   [self addSubview:self.bottomLabel];
    
}
@end
